<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewPage.aspx.cs" Inherits="ViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 444px">
            <tr>
                <td style="width: 441px;" valign="top">

        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="2" OnActiveViewChanged="MultiView1_ActiveViewChanged">
            <asp:View ID="View1" runat="server">
            <b>Showing View #1<br />
            <asp:Image ID="Image1" runat="server"
            ImageUrl="~/Images/aspbanner.gif" /></b>
            </asp:View>
            <asp:View ID="View2" runat="server">
            <b>Showing View #2</b><br /><asp:Image ID="Image2" runat="server"
            ImageUrl="~/Images/csharpbanner.gif" /></asp:View>
            <asp:View ID="View3" runat="server">
            <b>Showing View #3</b><br />
            <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
            </asp:View>
        </asp:MultiView></td>
            </tr>
        </table>
    </div>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="View 1" />
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="View 2" />
        <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="View 3" />
        <asp:Label ID="Label1" runat="server" Width="252px"></asp:Label>
    </form>
</body>
</html>
